package com.bootdo.system.service;

import com.bootdo.system.domain.ProjectDO;

import java.util.List;
import java.util.Map;

/**
 * 项目表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-06-24 19:11:08
 */
public interface ProjectService {
	
	ProjectDO get(Integer projectId);
	
	List<ProjectDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProjectDO project);
	
	int update(ProjectDO project);
	
	int remove(Integer projectId);
	
	int batchRemove(Integer[] projectIds);

	List<ProjectDO> listall();

    List<ProjectDO> listforchoose(Long userId);

    List<ProjectDO> getProjectByUserId(Long userId);
}
